﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BusinessManagementStudio.Models.BusinessObject.Entities;

namespace BusinessManagementStudio.Models.BusinessObject.Services
{
    public interface IEntityService<T> where T : IMongoEntity
    {
        void Create(T entity);

        void Delete(string id);

        T GetById(string id);

        void Update(T entity);
    }
}
